//
//  DatePickView.h
//  buttton
//
//  Created by 邹吕 on 2017/3/20.
//  Copyright © 2017年 邹吕. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef  void(^DateBlock)(NSString *yearString);

@interface DatePickView : UIView

- (id)initWithFrame:(CGRect)frame withDateStr:(NSString *)dateStr withIsMaxDate:(BOOL)showMax withNoForward:(BOOL)isForward WithTips:(NSString *)tipsStr;
- (id)initWithFrame:(CGRect)frame withDateStr:(NSString *)dateStr withIsMaxDate:(BOOL)showMax withNoForward:(BOOL)isForward withIsDisplaytime:(BOOL)isDisplaytime;
-(void)showBoomView;

@property (nonatomic,copy) DateBlock block;


@end
